CSS Box Model

Hvert element på siden har sin egen boks, som kan styles med CSS.

Fra innsiden og ut:

Background

Husk at background dekker innholdet(content) og padding.

Document

CSS Box Model

Hvert element på siden har sin egen boks, som kan styles med CSS.

Fra innsiden og ut:

Background

Husk at background dekker innholdet(content) og padding.